package com.product.utils;

import com.product.vo.UserVo;

public class ThreadLocalUtils {
    private static final ThreadLocal<UserVo> THREAD_LOCAL = new ThreadLocal<UserVo>();

    public static UserVo get() {
        return THREAD_LOCAL.get();
    }

    public static void set(UserVo value) {
        THREAD_LOCAL.set(value);
    }

    public static void remove() {
        THREAD_LOCAL.remove();
    }
}
